#pragma once
#include<string>
using namespace std;
#include"billitem.h"

string BillTypeConversion(string billtype);
string GetSubType(CBillItem& bill);
string BillDescConversion(string strBillDesc);
bool isSave(CBillItem &bill);
string UTF8ToGB(const char* str);
void readZFBFromLine(string filename, int startLine, vector<CBillItem>& vecBills);
void readWeChatFromLine(string filename, int startLine, vector<CBillItem>& vecBills);
void writeDataToCSV(const string& filename, const vector<CBillItem>& data);
void removeRowsAfterSecond(const string& filePath);